import axios from '@/libs/api.request'

/**
 * 获取客服数据
 */
export const getCustomerService = () => {
  return axios.request({
    url: 'Tenant/getCustomerService',
    method: 'get'
  })
}
/**
 * 保存站点客服数据
 * @param data
 */
export const editCustomerService = (data) => {
  return axios.request({
    url: 'Tenant/editCustomerService',
    method: 'post',
    data
  })
}
/**
 * 获取菜单数据
 */
export const getTabbar = () => {
  return axios.request({
    url: 'Tenant/getTabbar',
    method: 'get'
  })
}
/**
 * 保存站点菜单数据
 * @param data
 */
export const editTabbar = (data) => {
  return axios.request({
    url: 'Tenant/editTabbar',
    method: 'post',
    data
  })
}

